<?php


class FileLoggerFactory implements LoggerFactory
{

    private $filePath;

    public function __construct($filePath)
    {
        $this->filePath = $filePath;
    }

    public function createLogger()
    {
        return new FileLogger($this->filePath);
    }
}